import { isMobile } from "@/utils/funs/is-mobile";

viewport();
window.addEventListener('resize', viewport);

function viewport() {
    const W = 375;
    const styleN = window.document.querySelector('meta#viewport');
    styleN.content = `width=device-width,width=${W},initial-scale=${isMobile() ? window.outerWidth / W : 1},user-scalable=no`;
}